package compiler;
/*
 *
 * CVariable
 *
 */

class CVariable extends CSymbol
{
	int offset;
	CType type;
	CVariable(int l, int o, CType t)
	{
		super(l);
		offset = o;
		type = t;
	}
	CType GetType() { return type; }
	public String toString()
	{
		return "Variable (level " + level +"):" + type.toString();
	}
}


class CVarArg extends CVariable
{

	CVarArg(int l, int o, CType t)
	{
		super(l, o, t);
	}
	public String toString()
	{
		return "Variable argument(level " + level +"):" + type.toString();
	}
}

